<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="time, c++ js">
    <meta name="description" content="分享生活,分享知识">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>time | Linxueya&#39;s Blog</title>
    <link rel="icon" type="image/png" href="/medias/favicon.png">

	<link rel="stylesheet" type="text/css" href="/libs/artitalk/artitalk.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/awesome/css/all.css">
	<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/css/my.css">

    <script src="/libs/jquery/jquery.min.js"></script>
	<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>

<meta name="generator" content="Hexo 5.3.0">
<style>.github-emoji { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; }  .github-emoji > span { position: relative; z-index: 10; }  .github-emoji img, .github-emoji .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; }  .github-emoji img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .github-emoji-fallback { color: inherit; } .github-emoji-fallback img { opacity: 0 !important; }</style>
<link rel="alternate" href="/atom.xml" title="Linxueya's Blog" type="application/atom+xml">
<link rel="stylesheet" href="/css/prism-tomorrow.css" type="text/css"></head>




<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css">

<style>
	 /* 春节主题模式样式开始  */
	.denglong {
		display: none;
	}
	body.themespring .denglong {
		display: block;
	}
	@media only screen and (min-width: 1124px) {
		.nav-menu {
			padding-right: 0px;
		}
		body.themespring .nav-menu {
			padding-right: 96px;
		}
	}
	@media only screen and (max-width: 760px) {
		.deng-box, .deng-box1 {
			width: 40%;
		}
		body.themespring .right {
			float: left!important;
		}
	}
	@media only screen and (min-width: 768px) and (max-width: 1024px) {
		.right {
			float: left!important;
		}
	}
	.deng-box {
		position: fixed;
		top: -40px;
		right: -20px;
		z-index: 999;
	}
	.deng-box1 {
		position: fixed;
		top: -30px;
		right: 10px;
		z-index: 999;
	}
	.deng-box1 .deng {
		position: relative;
		width: 120px;
		height: 90px;
		margin: 50px;
		background: #d8000f;
		background: rgba(216, 0, 15, 0.8);
		border-radius: 50% 50%;
		-webkit-transform-origin: 50% -100px;
		-webkit-animation: swing 5s infinite ease-in-out;
		box-shadow: -5px 5px 30px 4px rgba(252, 144, 61, 1);
	}
	.deng {
		position: relative;
		width: 120px;
		height: 90px;
		margin: 50px;
		background: #d8000f;
		background: rgba(216, 0, 15, 0.8);
		border-radius: 50% 50%;
		-webkit-transform-origin: 50% -100px;
		-webkit-animation: swing 3s infinite ease-in-out;
		box-shadow: -5px 5px 50px 4px rgba(250, 108, 0, 1);
	}
	.deng-a {
		width: 100px;
		height: 90px;
		background: #d8000f;
		background: rgba(216, 0, 15, 0.1);
		margin: 12px 8px 8px 10px;
		border-radius: 50% 50%;
		border: 2px solid #dc8f03;
	}
	.deng-b {
		width: 45px;
		height: 90px;
		background: #d8000f;
		background: rgba(216, 0, 15, 0.1);
		margin: -4px 8px 8px 26px;
		border-radius: 50% 50%;
		border: 2px solid #dc8f03;
	}
	.xian {
		position: absolute;
		top: -20px;
		left: 60px;
		width: 2px;
		height: 20px;
		background: #dc8f03;
	}
	.shui-a {
		position: relative;
		width: 5px;
		height: 20px;
		margin: -5px 0 0 59px;
		-webkit-animation: swing 4s infinite ease-in-out;
		-webkit-transform-origin: 50% -45px;
		background: #ffa500;
		border-radius: 0 0 5px 5px;
	}
	.shui-b {
		position: absolute;
		top: 14px;
		left: -2px;
		width: 10px;
		height: 10px;
		background: #dc8f03;
		border-radius: 50%;
	}
	.shui-c {
		position: absolute;
		top: 18px;
		left: -2px;
		width: 10px;
		height: 35px;
		background: #ffa500;
		border-radius: 0 0 0 5px;
	}
	.deng:before {
		position: absolute;
		top: -7px;
		left: 29px;
		height: 12px;
		width: 60px;
		content: " ";
		display: block;
		z-index: 999;
		border-radius: 5px 5px 0 0;
		border: solid 1px #dc8f03;
		background: #ffa500;
		background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
	}
	.deng:after {
		position: absolute;
		bottom: -7px;
		left: 10px;
		height: 12px;
		width: 60px;
		content: " ";
		display: block;
		margin-left: 20px;
		border-radius: 0 0 5px 5px;
		border: solid 1px #dc8f03;
		background: #ffa500;
		background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
	}
	@font-face {
		font-family: "华文行楷";
		src: url('/fonts/华文行楷.ttf');
	}
	.deng-t {
		font-family: 华文行楷;
		font-size: 26px;
		color: #dc8f03;
		font-weight: bold;
		line-height: 44px;
		text-align: center;
	}
	.night .deng-t,
	.night .deng-box,
	.night .deng-box1 {
		background: transparent !important;
	}
	@-moz-keyframes swing {
		0% {
				-moz-transform: rotate(-10deg)
		}
		50% {
			-moz-transform: rotate(10deg)
		}
		100% {
				-moz-transform: rotate(-10deg)
		}
	}
	@-webkit-keyframes swing {
		0% {
				-webkit-transform: rotate(-10deg)
		}
		50% {
				-webkit-transform: rotate(10deg)
		}
		100% {
				-webkit-transform: rotate(-10deg)
		}
	}
	 /* 春节主题模式样式结束  */
</style>

<body>

    <!-- 网站全局深色模式设置开始 -->
    <script>
        if (localStorage.getItem('dark') === '1') {
        document.body.classList.add('dark');
        }
        //  else if (new Date().getHours() >= 22 || new Date().getHours() < 7) {
        // document.body.classList.add('dark');
        // } 
        else if (matchMedia('(prefers-color-scheme: dark)').matches) {
        document.body.classList.add('dark');
        }
    </script>
    <a onclick="switchNightMode()" id="sma">
        <i class="fa fa-moon-o" id="nightMode" aria-hidden="true"></i>
    </a>
    <!-- 网站全局深色模式设置结束 -->

    <!-- 中国节日按钮开始 -->
    <script>
        if (localStorage.getItem('themespring') === '1') {
        document.body.classList.add('themespring');
        }
        else if (matchMedia('(prefers-color-scheme: themespring)').matches) {
        document.body.classList.add('themespring');
        }
    </script>
    <div onclick="switchSpringThemes()" id="switchspring">
        <img class="chunjiepic" src="/medias/loading.gif" data-original="/medias/spring-img/denglong.png" title="春节主题" />
    </div>
    <!-- 中国节日按钮结束  -->



    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/" class="waves-effect waves-light">
                    
                    <img src="/medias/loading.gif" data-original="/medias/logo.png" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">Linxueya&#39;s Blog</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="" class="waves-effect waves-light">

      
      <i class="fas fa-book" style="zoom: 0.6;"></i>
      
      <span>文章</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/tags">
          
          <i class="fas fa-tag" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>标签</span>
        </a>
      </li>
      
      <li>
        <a href="/categories">
          
          <i class="fas fa-folder-open" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>分类</span>
        </a>
      </li>
      
      <li>
        <a href="/archives">
          
          <i class="fas fa-table" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>归档</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/contact" class="waves-effect waves-light">
      
      <i class="fas fa-comments" style="zoom: 0.6;"></i>
      
      <span>留言板</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/artitalk" class="waves-effect waves-light">
      
      <i class="fas fa-comments" style="zoom: 0.6;"></i>
      
      <span>说说</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="" class="waves-effect waves-light">

      
      <i class="fas fa-link" style="zoom: 0.6;"></i>
      
      <span>链接</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/about">
          
          <i class="fas fa-user" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>关于</span>
        </a>
      </li>
      
      <li>
        <a href="/friends">
          
          <i class="fas fa-address-book" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>友链</span>
        </a>
      </li>
      
      <li>
        <a href="/box/navigate">
          
          <i class="fas fa-location-arrow" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>导航</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="" class="waves-effect waves-light">

      
      <i class="fas fa-list" style="zoom: 0.6;"></i>
      
      <span>媒体</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/musics">
          
          <i class="fas fa-music" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>音乐</span>
        </a>
      </li>
      
      <li>
        <a href="/video">
          
          <i class="fas fa-film" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>视频</span>
        </a>
      </li>
      
      <li>
        <a href="/galleries">
          
          <i class="fas fa-image" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>相册</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="" class="waves-effect waves-light">

      
      <i class="fas fa-cubes" style="zoom: 0.6;"></i>
      
      <span>实验室</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/ticktack">
          
          <i class="fas fa-clock" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>光阴</span>
        </a>
      </li>
      
      <li>
        <a href="/box/clock">
          
          <i class="fas fa-hourglass-half" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>流年</span>
        </a>
      </li>
      
      <li>
        <a href="/time">
          
          <i class="fas fa-clock" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>日历</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
        <img src="/medias/loading.gif" data-original="/medias/logo.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">Linxueya&#39;s Blog</div>
        <div class="logo-desc">
            
            分享生活,分享知识
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-book"></i>
			
			文章
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  style="background:  ;" >
              
                <li>

                  <a href="/tags " style="margin-left:75px">
				  
				   <i class="fa fas fa-tag" style="position: absolute;left:50px" ></i>
			      
		          <span>标签</span>
                  </a>
                </li>
              
                <li>

                  <a href="/categories " style="margin-left:75px">
				  
				   <i class="fa fas fa-folder-open" style="position: absolute;left:50px" ></i>
			      
		          <span>分类</span>
                  </a>
                </li>
              
                <li>

                  <a href="/archives " style="margin-left:75px">
				  
				   <i class="fa fas fa-table" style="position: absolute;left:50px" ></i>
			      
		          <span>归档</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/contact" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-comments"></i>
			
			留言板
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/artitalk" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-comments"></i>
			
			说说
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-link"></i>
			
			链接
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  style="background:  ;" >
              
                <li>

                  <a href="/about " style="margin-left:75px">
				  
				   <i class="fa fas fa-user" style="position: absolute;left:50px" ></i>
			      
		          <span>关于</span>
                  </a>
                </li>
              
                <li>

                  <a href="/friends " style="margin-left:75px">
				  
				   <i class="fa fas fa-address-book" style="position: absolute;left:50px" ></i>
			      
		          <span>友链</span>
                  </a>
                </li>
              
                <li>

                  <a href="/box/navigate " style="margin-left:75px">
				  
				   <i class="fa fas fa-location-arrow" style="position: absolute;left:50px" ></i>
			      
		          <span>导航</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-list"></i>
			
			媒体
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  style="background:  ;" >
              
                <li>

                  <a href="/musics " style="margin-left:75px">
				  
				   <i class="fa fas fa-music" style="position: absolute;left:50px" ></i>
			      
		          <span>音乐</span>
                  </a>
                </li>
              
                <li>

                  <a href="/video " style="margin-left:75px">
				  
				   <i class="fa fas fa-film" style="position: absolute;left:50px" ></i>
			      
		          <span>视频</span>
                  </a>
                </li>
              
                <li>

                  <a href="/galleries " style="margin-left:75px">
				  
				   <i class="fa fas fa-image" style="position: absolute;left:50px" ></i>
			      
		          <span>相册</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-cubes"></i>
			
			实验室
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  style="background:  ;" >
              
                <li>

                  <a href="/ticktack " style="margin-left:75px">
				  
				   <i class="fa fas fa-clock" style="position: absolute;left:50px" ></i>
			      
		          <span>光阴</span>
                  </a>
                </li>
              
                <li>

                  <a href="/box/clock " style="margin-left:75px">
				  
				   <i class="fa fas fa-hourglass-half" style="position: absolute;left:50px" ></i>
			      
		          <span>流年</span>
                  </a>
                </li>
              
                <li>

                  <a href="/time " style="margin-left:75px">
				  
				   <i class="fa fas fa-clock" style="position: absolute;left:50px" ></i>
			      
		          <span>日历</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        
    </ul>
</div>


        </div>

        
    </nav>

</header>

    <style>
    .bg-cover {
        display: none;
    }
    .navbar-fixed {
        background-image: linear-gradient(to right, #623AA2 0%,#2196f3 100%);
        opacity: 0.8;
    }
	.hidden {
		display: none;
	}

	#display {
		margin: auto;
	}
</style>


<main class="content">
    <canvas id="cvs" class="hidden" width="1980" height="1080"></canvas>
    <canvas id="screenImage" class="hidden" width="234" height="357"></canvas>
    <canvas id="rili" class="hidden" width="600" height="600"></canvas>
    <canvas id="display"></canvas>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
        var cvs = document.getElementById("cvs");
        var ctx = cvs.getContext("2d");

        var display = document.getElementById("display");
        var displayCtx = display.getContext("2d");

        var screenImage = document.getElementById("screenImage");
        var screenImageCtx = screenImage.getContext("2d");

        var rili = document.getElementById("rili");
        var riliCtx = rili.getContext("2d");

        // var songInfo = {};
        // var AllTimeBak = 0;
        // var NowBak = 0;
        // var DrawWarning = false;

        // function updateSongInfo() {
        //     var xhr = new XMLHttpRequest();
        //     xhr.open('GET', "http://127.0.0.1:62333/BGMName", true);
        //     xhr.onreadystatechange = function () {
        //         if (xhr.readyState == 4 && xhr.status == 200 || xhr.status == 304) {
        //             songInfo = JSON.parse(xhr.responseText);
        //             if (songInfo.AllTime <= 0)
        //                 songInfo.AllTime = AllTimeBak;
        //             if (songInfo.Now <= 0)
        //                 songInfo.Now = NowBak;

        //             AllTimeBak = songInfo.AllTime;
        //             NowBak = songInfo.Now;

        //             DrawWarning = false;
        //         } else if(xhr.readyState == 4 && xhr.status != 200) {
        //             DrawWarning = true;
        //         }
        //     };
        //     xhr.send();
        //} 


        // 果然还是复制别人的轮子这种东西最刺激啦 出处：https://blog.csdn.net/u012601195/article/details/47860617
        function drawRili() {
            riliCtx.clearRect(0, 0, 600, 600);
            var date = new Date();
            var year = date.getYear();
            var mouth = date.getMonth();
            var today = date.getDate();
            var week = date.getDay();

            var cardSize = 40;

            var array_three = [4, 6, 9, 11];
            var array_threeone = [1, 3, 5, 7, 8, 10, 12];
            var array_week = ["SUN", "MON", "TUES", "WED", "THUR", "FRI", "SAT"];

            var firstDraw; //1号绘制位置
            var wIdx = today % 7;

            if (week >= wIdx) {
                firstDraw = week - wIdx + 1;
            } else {
                firstDraw = week - wIdx + 8;
            }

            var dayIndex = 1;
            var countDay = 30;

            if (array_three.indexOf(mouth + 1) > -1) {
                countDay = 30;
            } else if (array_threeone.indexOf(mouth + 1) > -1) {
                countDay = 31;
            } else {
                if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
                    countDay = 29;
                else
                    countDay = 28;
            }

            var row = 6;
            if (7 - firstDraw + 7 * 4 < countDay) { //确定表格行数，防止日期绘制不全
                row = 7;
            }

            function drawTodaybg(i, j) {
                riliCtx.save();

                riliCtx.beginPath();
                riliCtx.strokeStyle = "#900";
                riliCtx.arc(45 + i * cardSize * 1.7 + cardSize / 1.18, 50 + j * cardSize + cardSize / 2, cardSize / 2 - 10, - Math.PI, Math.PI * 1);
                riliCtx.stroke();
                riliCtx.closePath();

                riliCtx.beginPath();
                riliCtx.arc(45 + i * cardSize * 1.7 + cardSize / 1.18, 50 + j * cardSize + cardSize / 2, cardSize / 2 - 9, - Math.PI, Math.PI * 0.9);
                riliCtx.stroke();
                riliCtx.closePath();

                riliCtx.beginPath();
                riliCtx.arc(45 + i * cardSize * 1.7 + cardSize / 1.18, 50 + j * cardSize + cardSize / 2, cardSize / 2 - 8, - Math.PI, Math.PI * 0.8);
                riliCtx.stroke();
                riliCtx.closePath();

                riliCtx.beginPath();
                riliCtx.arc(45 + i * cardSize * 1.7 + cardSize / 1.18, 50 + j * cardSize + cardSize / 2, cardSize / 2 - 7, - Math.PI, Math.PI * 0.7);
                riliCtx.stroke();
                riliCtx.closePath();

                riliCtx.beginPath();
                riliCtx.arc(45 + i * cardSize * 1.7 + cardSize / 1.18, 50 + j * cardSize + cardSize / 2, cardSize / 2 - 6, - Math.PI, Math.PI * 0.6);
                riliCtx.stroke();
                riliCtx.closePath();

                riliCtx.restore();
            }
            
            var isNum = /^\d+(\d+)?$/;

            function drawDate(txt, i, j) {
                riliCtx.textAlign = "center";
                riliCtx.fillStyle = "rgb(69,68,84)";
                riliCtx.font = (cardSize / 1.5) + 'px Impact';
                var yOffest = 3;

                if ((j == 0 || j == 6) && isNum.test(txt)) {
                    riliCtx.fillStyle = "#900";
                }

                riliCtx.fillText(txt.toString(), 45 + j * cardSize * 1.7 + cardSize / 1.18, 50 + i * cardSize + cardSize / 3 * 2 + yOffest);

                if (txt == today) {
                    drawTodaybg(j, i);
                }
            }

            riliCtx.fillStyle = "rgb(69,68,84)";
            riliCtx.font = "900 26pt SimHei";
            riliCtx.textAlign = "center";
            var monthCN = ["一","二","三","四","五","六","七","八","九","十","十一","十二"];
            riliCtx.scale(1.1,1);
            riliCtx.fillText(monthCN[mouth] + "月", 260, 32);
            riliCtx.resetTransform();
            
            riliCtx.font = "20pt SimHei";
            riliCtx.textAlign = "end";
            riliCtx.fillText(today + "日",520,38);

            for (var i = 0; i < row; i++) {
                for (var j = 0; j < 7; j++) {
                    riliCtx.strokeRect(45 + j * cardSize * 1.70, 50 + i * cardSize, cardSize * 1.70, cardSize);
                }
            }

            dayIndex = 1;

            for (var i = 0; i < row; i++) { //开始绘制日期数
                for (var j = 0; j < 7; j++) {
                    if (i == 0) { //表格第一行绘制星期
                        drawDate(array_week[j], i, j);
                        continue;
                    }

                    if (i == 1 && j < firstDraw) { //确定1号绘制位置
                        continue;
                    }

                    if (dayIndex > countDay) { //只绘制月份的天数
                        break;
                    }

                    drawDate(dayIndex++, i, j);
                }
            }
        }

        var riliInterval = setInterval(drawRili, 3600000);
        drawRili();

        // Canvas奇妙的剪切蒙版实现
        var screenMask = new Image();
        screenMask.src = "https://7.dusays.com/2020/11/02/e7199b4f3f87e.png";

        var screen = new Image();
        screen.src = "https://7.dusays.com/2020/11/02/e946a3582f394.png";

        var iv = setInterval(() => {
            if (screen.complete && screenMask.complete) {
                screenImageCtx.drawImage(screen, -1041, -210, 1280, 720);
                screenImageCtx.globalCompositeOperation = "destination-atop";
                screenImageCtx.drawImage(screenMask, 0, 0);
                screenImageCtx.globalCompositeOperation = "source-over";
                clearInterval(iv);
            }
        }, 14);

        // 奇妙的屏幕大小自适应
        window.onresize = function () {
            if (window.innerWidth / window.innerHeight > 1.8333333333333) {
                display.width = window.innerWidth;
                display.height = window.innerWidth / 1980 * 1080;

                window.scrollTo(0, (window.innerHeight - 123) / 16);
            } else {
                display.width = window.innerHeight / 1080 * 1980;
                display.height = window.innerHeight;
            }
        }

        window.onresize();

        // 加载图片
        var bg = new Image();
        bg.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/bg.png";

        var mask = new Image();
        mask.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/mask.png";

        var light = new Image();
        light.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/light.png";

        var caidai = new Image();
        caidai.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/caidai.png";

        var two = new Image();
        two.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/22.png";

        var screenLight = new Image();
        screenLight.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/screenLight.png";

        var phoneLight = new Image();
        phoneLight.src = "https://cdn.jsdelivr.net/gh/linxueya/cdn@1.1/source/medias/bili-img/phoneLight.png";

        var phoneText = JSON.parse("[{\"time\":0,\"text\":\"凌晨啦!\"},{\"time\":6,\"text\":\"早上好!\"},{\"time\":8,\"text\":\"上午好!\"},{\"time\":11,\"text\":\"你吃了吗\"},{\"time\":13,\"text\":\"下午好鸭!\"},{\"time\":16,\"text\":\"傍晚咯!\"},{\"time\":19,\"text\":\"晚安!\"}]");

        var noRili = false;
        var updateSongInfoHandler = -1;
        // 设置左上角的壁纸
        window.wallpaperPropertyListener = {
            applyUserProperties: function (properties) {
                if (properties.screenFile) {
                    if (properties.screenFile.value) {
                        screen.src = 'file:///' + properties.screenFile.value;
                        var iv1 = setInterval(() => {
                            if (screen.complete && screenMask.complete) {
                                screenImageCtx.clearRect(0, 0, 1000, 1000);
                                screenImageCtx.drawImage(screen, -1041, -210, 1280, 720);
                                screenImageCtx.globalCompositeOperation = "destination-atop";
                                screenImageCtx.drawImage(screenMask, 0, 0);
                                screenImageCtx.globalCompositeOperation = "source-over";
                                clearInterval(iv1);
                            }
                        }, 14);
                    }
                }

                if (properties.phoneText) {
                    if (properties.phoneText.value) {
                        phoneText = JSON.parse(properties.phoneText.value);
                    }
                }

                if (properties.disableRili) {
                    if (properties.disableRili.value) {
                        clearInterval(riliInterval);
                        noRili = true;
                    } else {
                        riliInterval = setInterval(drawRili, 3600000);
                        drawRili();
                        noRili = false;
                    }
                }

                if (properties.showSongInfo) {
                    if (properties.showSongInfo.value) {
                        updateSongInfoHandler = setInterval(updateSongInfo, 250);
                        updateSongInfo();
                    } else {
                        clearInterval(updateSongInfoHandler);
                        updateSongInfoHandler = -1;
                    }
                }
            }
        }

        var data = new Array(128);
        var animData = new Array(128);
        var SoundPlaying = false;

        // 奇妙的初始化
        for (var i = 0; i < 128; i++) {
            data[i] = animData[i] = 0;
        }

        // 奇妙的Normalize
        var peakValue = 1;
        if (window.wallpaperRegisterAudioListener) {
            window.wallpaperRegisterAudioListener(function (audioData) {
                var max = 0;

                for (var i = 0; i < 128; i++) {
                    if (audioData[i] > max)
                        max = audioData[i];
                }

                peakValue = peakValue * 0.99 + max * 0.01;

                for (i = 0; i < 64; i++) {
                    data[63 - i] = audioData[i] / peakValue;
                }

                for (i = 0; i < 64; i++) {
                    data[127 - i] = audioData[127 - i];
                }
            });
        } else {
            var iva = setInterval(() => {
                for (var i = 0; i < 128; i++) {
                    data[i] = Math.random();
                }
            }, 10);
        }

        // ....
        function min(a, b) {
            return a > b ? b : a;
        }

        function max(a, b) {
            return a > b ? a : b;
        }

        // 奇妙的颜色变化
        var targetColor = { r: 80, g: 120, b: 169 };
        var currentColor = { r: 80, g: 120, b: 169 };
        var lightColor = { r: 0, g: 34, b: 77, a: 0 };

        function colorToRgb(color) {
            return ("rgb(" + color.r.toString() + "," + color.g.toString() + "," + color.b.toString() + ")");
        }

        function colorToRgba(colorWithA) {
            return ("rgba(" + colorWithA.r.toString() + "," + colorWithA.g.toString() + "," + colorWithA.b.toString() + "," + colorWithA.a.toString() + ")");
        }

        var night = false;
        var debug = false;


        // Canvas的奇妙冒险!
        function render() {
            for (var i = 0; i < 128; i++) {
                animData[i] += (data[i] - animData[i]) * 0.3;
                animData[i] = min(animData[i], 1);
            }

            currentColor.r += (targetColor.r - currentColor.r) * 0.01;
            currentColor.r = min(currentColor.r, 255);
            currentColor.r = max(currentColor.r, 0);

            currentColor.g += (targetColor.g - currentColor.g) * 0.01;
            currentColor.g = min(currentColor.g, 255);
            currentColor.g = max(currentColor.g, 0);

            currentColor.b += (targetColor.b - currentColor.b) * 0.01;
            currentColor.b = min(currentColor.b, 255);
            currentColor.b = max(currentColor.b, 0);

            ctx.clearRect(0, 0, 1980, 1080);
            ctx.drawImage(bg, 0, 0);
            ctx.drawImage(mask, 954, 99);

            ctx.fillStyle = "#97adbb";
            ctx.font = "32pt Impact";
            

            ctx.transform(1, 2.05 * (Math.PI / 180), 0, 1, 0, 0);

            var time = new Date();
            ctx.fillText((time.getHours() < 10 ? "0" : "") + time.getHours().toString() + ":" + (time.getMinutes() < 10 ? "0" : "") + time.getMinutes() + ":" + (time.getSeconds() < 10 ? "0" : "") + time.getSeconds().toString(), 725, 318);
            ctx.resetTransform();

            //日历本
            ctx.transform(0.9645, 0, 0 * (Math.PI / 180), 0.96, 967, 100);
            ctx.rotate(6 * (Math.PI / 180));

            if (!noRili) {
                ctx.drawImage(rili, 0, 0);

                ctx.resetTransform();

                ctx.transform(0.9645, 0, 9 * (Math.PI / 180), 1, 825, 160);
                ctx.rotate(7 * (Math.PI / 180));
            }

            targetColor = { r: 80, g: 120, b: 169 };

            if (night) {
                targetColor = { r: 255, g: 75, b: 80 };
            }

            if (!noRili) {
                ctx.fillStyle = "rgba(0,0,0,0.5)";
                ctx.fillRect(-10, 320, 650, 2);
            }

            ctx.fillStyle = colorToRgb(currentColor);

            if (!noRili) {
                for (var i = 32; i < 95; i++)
                    ctx.fillRect(10 * (i - 32), 20 + (300 - 300 * animData[i]), 4, 300 * animData[i]);
            } else
                for (var i = 32; i < 95; i++)
                    ctx.fillRect(40 + 7.5 * (i - 32), 30 + (300 - 300 * animData[i]), 4, 300 * animData[i]);


            ctx.resetTransform();

            ctx.globalCompositeOperation = "overlay";
            ctx.drawImage(light, 971, 197);
            ctx.globalCompositeOperation = "source-over";

            ctx.drawImage(caidai, 949, 25);
            ctx.drawImage(two, 1319, 345);

            // 夜间光照
            if (night && lightColor.a < 0.7) {
                lightColor.a += 0.005;
                lightColor.a = min(lightColor.a, 0.7);
            } else if (!night) {
                lightColor.a -= 0.005;
                lightColor.a = max(lightColor.a, 0.0);
            }

            if (lightColor.a > 0) {
                ctx.globalCompositeOperation = "hard-light";
                ctx.fillStyle = colorToRgba(lightColor);
                ctx.fillRect(0, 0, 1980, 1080);
                ctx.globalCompositeOperation = "source-over";

                ctx.globalAlpha = lightColor.a / 0.7;
                ctx.drawImage(phoneLight, 860, 437);
                ctx.globalAlpha = 1;
            }

            //屏幕
            ctx.drawImage(screenImage, 0, 0);
            if (lightColor.a > 0) {
                ctx.globalAlpha = lightColor.a / 0.7;
                ctx.drawImage(screenLight, 0, 0);
                ctx.globalAlpha = 1;
            }

            night = true;
            var greeting = "凌晨啦!";

            phoneText.forEach((v) => {
                if (time.getHours() >= v.time) {
                    greeting = v.text;
                }
            });

            if (time.getHours() >= 6 && time.getHours() <= 18) {
                night = false;
            }

            night = debug ? !night : night;

            //手机
            ctx.fillStyle = "#000";
            ctx.font = "31.02pt SimHei";

            ctx.transform(1.0911, -35 * (Math.PI / 180), 0, 0.5868, 1132.94, 564.07);
            ctx.rotate(56.5 * (Math.PI / 180));
            ctx.textAlign = "center"
            ctx.fillStyle = "#fff";
            ctx.fillText(greeting, 135, 100);
            ctx.textAlign = "start"
            ctx.resetTransform();

            // if (updateSongInfoHandler != -1) {
            //     ctx.transform(0.9645, 0, 9 * (Math.PI / 180), 1, 725, 475);
            //     ctx.rotate(7 * (Math.PI / 180));
            //     if (songInfo.Title) {
            //         ctx.font = "35px SimHei";
            //         ctx.textAlign = "left";
            //         ctx.fillStyle = "rgba(0,0,0,0.7)";
            //         ctx.fillText(songInfo.Title, 2, 2);
            //         ctx.fillStyle = "#fff";
            //         ctx.fillText(songInfo.Title, 0, 0);

            //         ctx.font = "28px SimHei";

            //         ctx.fillStyle = "rgba(0,0,0,0.7)";
            //         ctx.fillText(songInfo.Lryic, 2, 52);
            //         ctx.fillRect(0, 15, 600, 2);
            //         ctx.fillStyle = "#fff";
            //         ctx.fillText(songInfo.Lryic, 0, 50);
            //         ctx.fillRect(0, 10, songInfo.Now / songInfo.AllTime * 600, 5)

            //         ctx.font = "22px SimHei";
            //         ctx.fillStyle = "rgba(0,0,0,0.7)";
            //         ctx.fillText(songInfo.ChineseLryic, 2, 79);
            //         ctx.fillStyle = "#fff";
            //         ctx.fillText(songInfo.ChineseLryic, 0, 77);

            //     }

            //     ctx.resetTransform();

            //     if(updateSongInfoHandler != -1 &&　DrawWarning)
            //     {
            //         ctx.font = "72pt SimHei";
            //         ctx.textAlign = "center";
            //         ctx.fillStyle = "#000";
            //         ctx.fillRect(0,200,1980,500);
            //         ctx.fillStyle = "#f00";
            //         ctx.fillText("错误: 歌曲信息后台未开启",1980 / 2,1080 / 2 - 72);
            //     }
            // }
            displayCtx.drawImage(cvs, 0, 0, display.width, display.height);
            window.requestAnimationFrame(render);

        }

        window.requestAnimationFrame(render);
    </script>
</main>



    <style>
    .youpaiyunlogo {
        height: 26px;
        display: inline-block;
        vertical-align: top;
    }
</style>


<footer class="page-footer bg-color">
    
    <div class="container row center-align" style="margin-bottom: 15px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            
                <span id="year">2021-2022</span>
            
            <span id="year">2021</span>
            <a href="/about" target="_blank">linxueya</a>
            |&nbsp;Powered by&nbsp;<a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;<a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>
			
			<a>Cloud storage</a> service and <a>CDN</a> acceleration provider
            <a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank" title="本站CDN加速/云存储由又拍云提供">
                <img src="/medias/loading.gif" data-original="/medias/youpaiyun-logo.png" class="youpaiyunlogo" />
            </a>
            <br>
			
            
            
            
            
            
            
            <span id="busuanzi_container_site_pv">
                |&nbsp;<i class="far fa-eye"></i>&nbsp;总访问量:&nbsp;<span id="busuanzi_value_site_pv"
                    class="white-color"></span>&nbsp;次
            </span>
            
            
            <span id="busuanzi_container_site_uv">
                |&nbsp;<i class="fas fa-users"></i>&nbsp;总访问人数:&nbsp;<span id="busuanzi_value_site_uv"
                    class="white-color"></span>&nbsp;人
            </span>
            
            <br>
            
            <span id="sitetime">载入运行时间...</span>
            <script>
                function siteTime() {
                    var seconds = 1000;
                    var minutes = seconds * 60;
                    var hours = minutes * 60;
                    var days = hours * 24;
                    var years = days * 365;
                    var today = new Date();
                    var startYear = "2021";
                    var startMonth = "2";
                    var startDate = "1";
                    var startHour = "0";
                    var startMinute = "0";
                    var startSecond = "0";
                    var todayYear = today.getFullYear();
                    var todayMonth = today.getMonth() + 1;
                    var todayDate = today.getDate();
                    var todayHour = today.getHours();
                    var todayMinute = today.getMinutes();
                    var todaySecond = today.getSeconds();
                    var t1 = Date.UTC(startYear, startMonth, startDate, startHour, startMinute, startSecond);
                    var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond);
                    var diff = t2 - t1;
                    var diffYears = Math.floor(diff / years);
                    var diffDays = Math.floor((diff / days) - diffYears * 365);
                    var diffHours = Math.floor((diff - (diffYears * 365 + diffDays) * days) / hours);
                    var diffMinutes = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours) /
                        minutes);
                    var diffSeconds = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours -
                        diffMinutes * minutes) / seconds);
                    if (startYear == todayYear) {
                        document.getElementById("year").innerHTML = todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffDays + " 天 " + diffHours +
                            " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    } else {
                        document.getElementById("year").innerHTML = startYear + " - " + todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffYears + " 年 " + diffDays +
                            " 天 " + diffHours + " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    }
                }
                setInterval(siteTime, 1000);
            </script>
            
            <br>
            
        </div>
        <div class="col s12 m4 l4 social-link social-statis">
    <a href="https://github.com/linxueya" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="mailto:1462857461@qq.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
        <i class="fas fa-envelope-open"></i>
    </a>







    <a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=1462857461" class="tooltipped" target="_blank" data-tooltip="QQ联系我: 1462857461" data-position="top" data-delay="50">
        <i class="fab fa-qq"></i>
    </a>







</div>
    </div>
</footer>

<div class="progress-bar"></div>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script type="text/javascript">
$(function () {
    var searchFunc = function (path, search_id, content_id) {
        'use strict';
        $.ajax({
            url: path,
            dataType: "xml",
            success: function (xmlResponse) {
                // get the contents from search data
                var datas = $("entry", xmlResponse).map(function () {
                    return {
                        title: $("title", this).text(),
                        content: $("content", this).text(),
                        url: $("url", this).text()
                    };
                }).get();
                var $input = document.getElementById(search_id);
                var $resultContent = document.getElementById(content_id);
                $input.addEventListener('input', function () {
                    var str = '<ul class=\"search-result-list\">';
                    var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
                    $resultContent.innerHTML = "";
                    if (this.value.trim().length <= 0) {
                        return;
                    }
                    // perform local searching
                    datas.forEach(function (data) {
                        var isMatch = true;
                        var data_title = data.title.trim().toLowerCase();
                        var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
                        var data_url = data.url;
                        data_url = data_url.indexOf('/') === 0 ? data.url : '/' + data_url;
                        var index_title = -1;
                        var index_content = -1;
                        var first_occur = -1;
                        // only match artiles with not empty titles and contents
                        if (data_title !== '' && data_content !== '') {
                            keywords.forEach(function (keyword, i) {
                                index_title = data_title.indexOf(keyword);
                                index_content = data_content.indexOf(keyword);
                                if (index_title < 0 && index_content < 0) {
                                    isMatch = false;
                                } else {
                                    if (index_content < 0) {
                                        index_content = 0;
                                    }
                                    if (i === 0) {
                                        first_occur = index_content;
                                    }
                                }
                            });
                        }
                        // show search results
                        if (isMatch) {
                            str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
                            var content = data.content.trim().replace(/<[^>]+>/g, "");
                            if (first_occur >= 0) {
                                // cut out 100 characters
                                var start = first_occur - 20;
                                var end = first_occur + 80;
                                if (start < 0) {
                                    start = 0;
                                }
                                if (start === 0) {
                                    end = 100;
                                }
                                if (end > content.length) {
                                    end = content.length;
                                }
                                var match_content = content.substr(start, end);
                                // highlight all keywords
                                keywords.forEach(function (keyword) {
                                    var regS = new RegExp(keyword, "gi");
                                    match_content = match_content.replace(regS, "<em class=\"search-keyword\">" + keyword + "</em>");
                                });

                                str += "<p class=\"search-result\">" + match_content + "...</p>"
                            }
                            str += "</li>";
                        }
                    });
                    str += "</ul>";
                    $resultContent.innerHTML = str;
                });
            }
        });
    };

    searchFunc('/search.xml', 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>


    <script src="/libs/materialize/materialize.min.js"></script>
    <script src="/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/libs/aos/aos.js"></script>
    <script src="/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/js/matery.js"></script>

    <!-- Baidu Analytics -->

<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?45d88ba8823706cdc3371e8298242453";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    <script src="/libs/others/clicklove.js" async="async"></script>
    
    
    <script async src="/libs/others/busuanzi.pure.mini.js"></script>
    

    

    
    <script>
        (function (i, s, o, g, r, a, m) {
            i["DaoVoiceObject"] = r;
            i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
            a = s.createElement(o), m = s.getElementsByTagName(o)[0];
            a.async = 1;
            a.src = g;
            a.charset = "utf-8";
            m.parentNode.insertBefore(a, m)
        })(window, document, "script", ('https:' == document.location.protocol ? 'https:' : 'http:') +
            "//widget.daovoice.io/widget/6984b559.js", "daovoice")
        daovoice('init', {
            app_id: "f4be4df6"
        });
        daovoice('update');
    </script>
    

    <!--腾讯兔小巢-->
    
    

    

    
    <script type="text/javascript" src="/libs/background/ribbon-dynamic.js"
        async="async"></script>
    

    
    <script src="/libs/instantpage/instantpage.js" type="module"></script>
    

    <!--心知天气-->
    <div id="tp-weather-widget"></div>
    <script>
        (function (a, h, g, f, e, d, c, b) {
            b = function () {
                d = h.createElement(g);
                c = h.getElementsByTagName(g)[0];
                d.src = e;
                d.charset = "utf-8";
                d.async = 1;
                c.parentNode.insertBefore(d, c)
            };
            a["SeniverseWeatherWidgetObject"] = f;
            a[f] || (a[f] = function () {
                (a[f].q = a[f].q || []).push(arguments)
            });
            a[f].l = +new Date();
            if (a.attachEvent) {
                a.attachEvent("onload", b)
            } else {
                a.addEventListener("load", b, false)
            }
        }(window, document, "script", "SeniverseWeatherWidget", "//cdn.sencdn.com/widget2/static/js/bundle.js?t=" +
            parseInt((new Date().getTime() / 100000000).toString(), 10)));
        window.SeniverseWeatherWidget('show', {
            flavor: "bubble",
            location: "WX4FBXXFKE4F",
            geolocation: true,
            language: "zh-Hans",
            unit: "c",
            theme: "auto",
            token: "73db93d3-c225-40d2-81f4-77a4d2fba014",
            hover: "enabled",
            container: "tp-weather-widget"
        })
    </script>



    <div class="denglong">
        <div class="deng-box">
            <div class="deng">
                <div class="xian"></div>
                <div class="deng-a">
                    <div class="deng-b"><div class="deng-t">喜迎</div></div>
                </div>
                <div class="shui shui-a"><div class="shui-c"></div><div class="shui-b"></div></div>
            </div>
        </div>
        <div class="deng-box1">
            <div class="deng">
                <div class="xian"></div>
                <div class="deng-a">
                    <div class="deng-b"><div class="deng-t">春节</div></div>
                </div>
                <div class="shui shui-a"><div class="shui-c"></div><div class="shui-b"></div></div>
            </div>
        </div>
    </div>


<script>
            window.imageLazyLoadSetting = {
                isSPA: false,
                processImages: null,
            };
        </script><script>window.addEventListener("load",function(){var t=/\.(gif|jpg|jpeg|tiff|png)$/i,r=/^data:image\/[a-z]+;base64,/;Array.prototype.slice.call(document.querySelectorAll("img[data-original]")).forEach(function(a){var e=a.parentNode;"A"===e.tagName&&(e.href.match(t)||e.href.match(r))&&(e.href=a.dataset.original)})});</script><script>!function(n){n.imageLazyLoadSetting.processImages=i;var e=n.imageLazyLoadSetting.isSPA,r=Array.prototype.slice.call(document.querySelectorAll("img[data-original]"));function i(){e&&(r=Array.prototype.slice.call(document.querySelectorAll("img[data-original]")));for(var t,a=0;a<r.length;a++)0<=(t=(t=r[a]).getBoundingClientRect()).bottom&&0<=t.left&&t.top<=(n.innerHeight||document.documentElement.clientHeight)&&function(){var t,e,n,i,o=r[a];t=o,e=function(){r=r.filter(function(t){return o!==t})},n=new Image,i=t.getAttribute("data-original"),n.onload=function(){t.src=i,e&&e()},n.src=i}()}i(),n.addEventListener("scroll",function(){var t,e;t=i,e=n,clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},500)})}(this);</script></body>

</html>